﻿<%@ Page Language="c#" CodeBehind="Fix_Error.aspx.cs" MasterPageFile="~/App_MasterPages/layout.Master"
    AutoEventWireup="false" Inherits="ud_gSDMS.Testing.Fix_Error" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="mojoPortal.Web.Editor" Namespace="mojoPortal.Web.Editor" TagPrefix="mp" %>


<asp:Content ContentPlaceHolderID="leftContent" ID="MPLeftPane" runat="server" />
<asp:Content ContentPlaceHolderID="mainContent" ID="MPContent" runat="server">
<script type="text/javascript">
    function getid(param) {

        var q = document.location.search;
        var i = q.indexOf(param + '=');

        if (i == -1) {
            return false;
        }

        var r = q.substr(i + param.length + 1, q.length - i - param.length - 1);

        i = r.indexOf('&');

        if (i != -1) {
            r = r.substr(0, i);
        }

        return r.replace(/\+/g, ' ');
    }
</script>

<portal:mojoPanel ID="mp1" runat="server" ArtisteerCssClass="art-Post" RenderArtisteerBlockContentDivs="true">
    <mp:CornerRounderTop id="ctop1" runat="server" />
    <asp:Panel ID="pnlStoreManager" runat="server" CssClass="art-Post-inner panelwrapper gSDMS">
            <portal:ModuleTitleControlCustom ID="moduleTitle" runat="server" RenderArtisteer="true" UseLowerCaseArtisteerClasses="true"/>
        <portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
        <div class="modulecontent">
            <fieldset>
<%--            <asp:UpdatePanel ID='updatePanel' runat="server" >
                <ContentTemplate>--%>
                    
                
                 <%--<mp:SiteLabel ID="lblInfo" CssClass="title info" runat="server" ResourceFile="gSDMSResource" ConfigKey="gSDMSHostingPackage" />--%>
                <div class="div_title">
                    <a href="/gsdmsmodule/testing/TManage.aspx?pageid=29">Manage Testing</a>
                    &nbsp;>&nbsp;
                    <a href="#">Fix Error</a>
                
                </div>
                <br /><br />

                <div class="div_Edit">
                    <table cellpadding='5' cellspacing='0' border='0' width='auto' class="tb_edit">
                         <tr>
                            <td class="title">Project Code :</td>
                            <td class="input"><asp:Label ID="lbProject_Code" runat="server"></asp:Label> 
                             <span class="star">(*)</span>
                             </td>
                        </tr>
                        <tr>
                            <td class="title">Create Date   :</td>
                            <td class="input"><asp:Label ID="lbCreate_Date" runat="server" ></asp:Label></td>
                                        
                         </tr>
                        <tr>
                            <asp:HiddenField ID="hidId" runat="server" />
                            <td class="title">Error Code    :</td>
                            <td class="input"><asp:Label ID="lbError_Code" runat="server" ></asp:Label>
                            </td>                                          
                        </tr>
                        <tr>
                            <td class="title">Title :</td>
                            <td class="input"><telerik:RadTextBox ID="txtTitle" runat="server" CssClass="txtInput" Width="400" ReadOnly="true" MaxLength="100"></telerik:RadTextBox>

                            </td>                                          
                        </tr>
                        <tr>
                            <td class="title" valign="top">Content : </td>
                            <td class="input"><mp:EditorControl ID="edContent" runat="server" Width="600" ></mp:EditorControl>
                           
                            </td>

                        </tr>
                        <tr>
                            <td class="title" valign="top">Feedback Notes :</td>
                            <td class="input"><mp:EditorControl ID="edFeedback_Notes" runat="server" Width="600"></mp:EditorControl></td>
                            
                        </tr>
                        <%--Attach file--%>
                        <tr>
                            <td class="title"><asp:Label runat="server" ID="lblAttachments">Attach files: </asp:Label></td>
                            <td class="input" colspan="3">
                                <asp:Repeater ID="rptAttachments" runat="server">
                                    <ItemTemplate>
                                        <asp:Image ID="imgType" runat="server" AlternateText=" " ImageUrl='<%# Page.ResolveUrl("~/Data/SiteImages/Icons/unknown.png") %>' />
                                        <asp:Label ID="Label1" Text='<%# Eval("p.FileName") %>' runat="server" />
                                        
                                        <asp:ImageButton ID="ibtnDownload" runat="server" AlternateText=" " ImageUrl='<%# Page.ResolveUrl("~/Data/SiteImages/Download.gif") %>'
                                            CommandName="DownloadItem" CommandArgument='<%# Eval("p.FileID") %>' />
                                        <asp:ImageButton ID="ibtnDelete" runat="server" AlternateText=" " ImageUrl='<%# Page.ResolveUrl("~/Data/SiteImages/delete.gif") %>'
                                            CommandName="DeleteItem" CommandArgument='<%# Eval("p.ServerFileName") %>' />
                                    </ItemTemplate>
                                </asp:Repeater>
                            </td>
                        </tr>
                        
                        <tr>
                            <td class="title">Add attach file: </td>
                            <td class="input" colspan="3">
                                <NeatUpload:InputFile ID="file1" runat="server" />
                                <NeatUpload:ProgressBar ID="progressBar" runat="server"></NeatUpload:ProgressBar>
                                <portal:mojoButton ID="btnUpload" runat="server" Text="Upload" ValidationGroup="subm" OnClientClick="return document.getElementById('ctl00_mainContent_hidId').value!=''" />
                            </td>
                        </tr>
                        <%--end attach file--%>
                        <tr>
                            <td class="title">Sender :</td>
                            <td class="input"><telerik:RadComboBox ID="cboSender" runat="server" CssClass="cbo_rad"></telerik:RadComboBox>
                            <span class="star">(*)</span>
                            </td>
                        </tr>
                         <tr>
                            <td class="title">Assign to :</td>
                            <td class="input"><telerik:RadComboBox ID="cboAssign_To" runat="server" CssClass="cbo_rad"></telerik:RadComboBox>
                            <span class="star">(*)</span>
                            </td>
                            
                        </tr>
                         <tr>
                            <td class="title">Status :</td>
                            <td class="input"><telerik:RadComboBox ID="cboStatus" runat="server" CssClass="cbo_rad" >

                                
                                </telerik:RadComboBox>
                               <span class="star">(*)</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="title">Send Email ? :</td>
                            <td class="input"><asp:CheckBox ID="chkSendEmail" runat="server" Checked="false"/></td>
                        </tr>
                       
                        <tr>
                            <td class="title"></td>
                            <td class="input"><asp:Button ID="btnSend" runat="server" Text="Save" ValidationGroup="1234" CssClass="btn_01 btn_save" />
                            <button id="btnBack" class="btn_01" type="reset" onclick="javascript:location.href='/gsdmsmodule/testing/Error_Lists.aspx?pageid=9&testid=' + getid('testid')">Back</button></td>
                        </tr>

                    </table>

                </div>

            </fieldset>
        </div>
        </portal:mojoPanel>
        <div class="cleared"></div>
    </asp:Panel>
    <mp:CornerRounderBottom id="cbottom1" runat="server" />
    </portal:mojoPanel>
</asp:Content>
<asp:Content ContentPlaceHolderID="rightContent" ID="MPRightPane" runat="server" />
<asp:Content ContentPlaceHolderID="pageEditContent" ID="MPPageEdit" runat="server" />
